package com.basic.modules.nykf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.basic.common.utils.PageUtils;
import com.basic.common.utils.ParamsModel;
import com.basic.common.utils.R;
import com.basic.modules.nykf.entity.CustomerComplaintRegistrationEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Date;

public interface CustomerComplaintRegistrationService  extends IService<CustomerComplaintRegistrationEntity> {

    /**
     * 获取投诉建议列表
     * @param params
     * @return
     */
    PageUtils getComplaintSuggestionsList(ParamsModel<CustomerComplaintRegistrationEntity> params);

    R addComplaintSuggestions(CustomerComplaintRegistrationEntity entity);

    R editCustomerComplaintRegistrationEntity(CustomerComplaintRegistrationEntity entity);

    R saved(String tsqd,
                  String tskhdjqd,
                  Date tswtfssj,
                  String tskhdjqm,
                  String wgwtfby,
                  String wgwtfbe,
                  String zdclry,
                  String gjc,
                  String wtms,
                  MultipartFile[] files) throws IOException;

}
